pkgname=vdr-tvonscreen
pkgver=1.0.141
pkgrel=1
arch=('i686')
pkgdesc="A VDR plugin that shows EPG data as a TV magazine does"
url="http://www.js-home.org/vdr/tvonscreen/index.php"
license=('GPL')
depends=('vdr' 'gcc')
source=(http://www.js-home.org/vdr/tvonscreen/$pkgname-$pkgver.tar.gz)
md5sums=('db60bb028dec610c06e24adbe736481c')

build() {
  cd $startdir/src/tvonscreen-$pkgver

  sed -i \
	 -e 's:@cp $@ :install -D -m 755 $@ $(DESTDIR):' \
	 Makefile
  make VDRDIR=/usr/include/vdr LIBDIR=/usr/lib/vdr DESTDIR=$startdir/pkg all || return 1
}
